package com.mask.im.business.model.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jian
 */
@Data
public class GroupChatMessageDTO {
    //群聊id
    private Integer groupChatMessageId;
    //群聊id
    private Long groupChatId;
    //聊天内容
    private String content;
    //成员id
    private Long memberId;
    //成员头像
    private String memberAvatar;
    //消息类型
    private Integer messageType;
    //群里的名字
    private String customizeRemark;
    //是否发送成功（0发送失败1发送成功）
    private Integer isSendSuccessfully;
    //成员昵称（群里的名字为null值时展示）
    private String username;
    //创建时间
    private LocalDateTime createTime;
    //0为其他人发1为自己所发
    private Boolean isMyselfMessage;
    //是否被撤回
    private Integer isRetracted;
    //删除聊天记录的id
    private String deletedBy;
}
